<template>
  <div>
    <bread-crumb
      class="bread-crumb-padding"
      :list="breadCrumb"
      :user="true"
    ></bread-crumb>
    <div class="user-main-box">
      <user-tab-list
        :list="tablist"
        :returnButton="$route.name == 'invoiceDetail'"
        backUrl="/user/invoice"
      ></user-tab-list>
      <div class="invoice-tips-area">
        <p class="f-14 c-o f-w-600">温馨提示：</p>
        <p
          class="f-14 c-black pub-m-t-14"
          v-for="(item, index) in tips"
          :key="index"
        >
          {{ item }}
        </p>
      </div>
      <router-view />
    </div>
  </div>
</template>

<script>
export default {
  name: "VipMytemplate",
  data() {
    return {
      breadCrumb: [{name: "管理中心"},{ name: "财务管理" }, { name: "发票管理" }],
      tablist: [
        {
          name: "发票管理",
          to: "/user/invoice",
        },
        {
          name: "发票申请",
          to: "/user/invoice/apply",
        },
        {
          name: "发票信息",
          to: "/user/invoice/info",
        },
      ],
      tips: [
        "1、本月可开发票只针对服务费以及注册费。",
        "2、本月产生的服务费以及注册费在下个月二号以后才可以索取发票。",
        "3、发票基于订单开具，不可拆分开票。",
        "4、190单张发票金额限额100万，索取金额超过100万将拆分成多张发票开具。",
      ],
    };
  },
  mounted() {},
  methods: {},
};
</script>

<style lang="scss">
.invoice-tips-area {
  margin: 20px 0 20px;
  padding: 15px 21px;
  border-radius: 10px;
  background-color: #f6f7fa;
}
</style>
